package com.ygqh.baby.service;

import java.util.List;

import com.ygqh.baby.ao.OrderStatus;
import com.ygqh.baby.ao.QueryInfo;
import com.ygqh.baby.ao.ResultSet;
import com.ygqh.baby.po.YgOrderLog;

public interface YgOrderLogService {

	List<YgOrderLog> find();

	int findCount();

	YgOrderLog findById(Long id);

	int save(YgOrderLog ygOrderLog);

	int update(YgOrderLog ygOrderLog);

	int saveOrUpdate(YgOrderLog ygOrderLog);

	ResultSet<YgOrderLog> search(QueryInfo queryInfo, String q);

	int addOrderLog(Long orderId, OrderStatus orderStatus, String createBy, String remark);

	int addOrderLogBatch(List<YgOrderLog> orderLogs);

}
